package cn.javastudy.design._1_创建者模式._建造者模式;

/**
 * 摩拜单车Builder类
 *
 * @author sumou
 * @date 2025/01/24
 */
public class MobikeBuilder extends Builder {

    @Override
    public void buildFrame() {
        bike.setFrame("铝合金车架");
    }

    @Override
    public void buildSeat() {
        bike.setSeat("真皮车座");
    }

    @Override
    public Bike crateBike() {
        return bike;
    }

}
